import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

class CustomTheme {
  static var light = ThemeData(
    useMaterial3: false,
    brightness: Brightness.light,
    appBarTheme: const AppBarTheme(
      backgroundColor: Color(0xFF609BCC),
      foregroundColor: Colors.white,
    ),
    scaffoldBackgroundColor: const Color(0xFFFFFFFF),
    textTheme: const TextTheme(
      bodySmall: TextStyle(
        color: Color(0xFF0E1113),
      ),
      bodyLarge: TextStyle(
        color: Color(0xFF0E1113),
      ),
      bodyMedium: TextStyle(
        color: Color(0xFF0E1113),
      ),
    ),
    iconTheme: const IconThemeData(
      color: Color(0xFF0E1113),
    ),
    iconButtonTheme: IconButtonThemeData(
        style: ButtonStyle(
            backgroundColor:
                MaterialStateProperty.all<Color?>(Colors.black))),
  );
  static var dark = ThemeData(
    useMaterial3: false,
    brightness: Brightness.dark,
    appBarTheme: const AppBarTheme(
      backgroundColor: Color(0xFF393E46),
      foregroundColor: Colors.white,
    ),
    scaffoldBackgroundColor: const Color(0xFF222831),
    textTheme: const TextTheme(
      bodySmall: TextStyle(
        color: Colors.white,
      ),
      bodyLarge: TextStyle(
        color: Colors.white,
      ),
      bodyMedium: TextStyle(
        color: Colors.white,
      ),
    ),
    iconTheme: const IconThemeData(
      color: Colors.white,
    ),
    iconButtonTheme: IconButtonThemeData(
        style: ButtonStyle(
            backgroundColor:
            MaterialStateProperty.all<Color?>(Colors.white))),
  );
}
